package poly;

public class Food {
    private String name;

//    public Food() {
//
//    }
    //有参构造器
    public Food(String name)
    {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
